package com.xncoding.valid.dto;

import com.xncoding.valid.validator.EnumValues;
import lombok.Data;

@Data
public class Users {

    private String id;
    private String name ;
    private String age;
    @EnumValues(values = {0,1},message = "如惨只能是0或者1")
    private String idNo;

}
